<template>
  <view class="li-statistics-table">
    <view class="sub-title">{{ title }}</view>
    <zb-table :fit="true" :columns="cd" :stripe="false" :data="dt" />
  </view>
</template>
<script>
export default {
  name: "LiStatisticsTable",
  props: {
    title: {
      type: String,
    },
    cd: {
      required: true,
    },
    dt: {
      required: true,
    },
  },
  data: function () {
    return {};
  },
  methods: {},
};
</script>
<style lang="scss" scoped>
.li-statistics-table {
  border-radius: 8px;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 20rpx;
  background-color: #fff;

  .sub-title {
    font-size: 18px;
    font-weight: bold;
    margin: 8px 0;
  }
}
</style>
